/* 
    banner模块
*/

#intro {
    padding-top: 146px;
    box-sizing: border-box;
    color: #fff;
}

#intro h1 {
    font-size: 36px;
    line-height: 44px;
}


/* 公共标题模块 */

.case-title {
    position: relative;
    line-height: 22px;
}

.case-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 28px;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background-color: #1271ef;
}

.case-title span {
    color: #999;
}

main {
    background: #f8f8f8;
    padding: 30px 0 60px;
}

main ul li {
    float: left;
    background-color: #fff;
    border: 1px solid #eee;
    margin-right: 20px;
}

main ul li a {
    display: block;
    width: 334px;
    height: 308px;
    padding: 10px 10px 22px;
}

main ul li a img {
    width: 334px;
    height: 145px;
}

main ul li a h4,
main ul li a p,
main ul li a div {
    padding: 0 12px;
}

main ul li a h4 {
    line-height: 20px;
    color: #181818;
}

main ul li a p {
    line-height: 16px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 弹性伸缩盒子模型显示 */
    display: -webkit-box;
    /* 限制在一个块元素显示的文本的行数 */
    -webkit-line-clamp: 4;
    /* 设置或检索伸缩盒对象的子元素的排列方式 */
    -webkit-box-orient: vertical;
}


/* 更多伙伴模块 */

#more-partners ul li {
    float: left;
    width: 354px;
    height: 120px;
    text-align: center;
    line-height: 120px;
    margin: 0 20px 20px 0;
}

#more-partners ul li img {
    width: 131px;
    height: 40px;
}


/* 侧边栏 */

#caseSidebar {
    position: absolute;
    top: 30px;
    right: 160px;
}

#caseSidebar span {
    position: relative;
    display: block;
    cursor: pointer;
    margin-bottom: 20px;
    color: #181818;
}

#caseSidebar span.selected {
    color: #1271ef;
}

#caseSidebar span.selected:before {
    content: '';
    position: absolute;
    top: 7px;
    left: -16px;
    width: 8px;
    height: 2px;
    background: #1271ef;
}